<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/bsp_init.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">bsp_init.h 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>板级硬件外设初始化  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;SWM341.h&quot;</code><br />
<code>#include &quot;<a class="el" href="version_8h_source.html">version.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__systick_8h_source.html">dev_systick.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__uart_8h_source.html">dev_uart.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__bod_8h_source.html">dev_bod.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__rtc_8h_source.html">dev_rtc.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__crc_8h_source.html">dev_crc.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__sfc_8h_source.html">dev_sfc.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__sdram_8h_source.html">dev_sdram.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__sdio_8h_source.html">dev_sdio.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__jpeg_8h_source.html">dev_jpeg.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__dac_8h_source.html">dev_dac.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__lcd_8h_source.html">dev_lcd.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__touch_8h_source.html">dev_touch.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dev__sleep__stop_8h_source.html">dev_sleep_stop.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="usbh__user_8h_source.html">usbh_user.h</a>&quot;</code><br />
<code>#include &quot;usbh_msc_core.h&quot;</code><br />
<code>#include &quot;usbh_msc_scsi.h&quot;</code><br />
<code>#include &quot;usbh_hid_core.h&quot;</code><br />
<code>#include &quot;usbh_hid_mouse.h&quot;</code><br />
<code>#include &quot;usbh_cdc_core.h&quot;</code><br />
<code>#include &quot;usbh_cdc_funct.h&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
bsp_init.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="bsp__init_8h__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2bsp__init_8h" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2bsp__init_8h" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2bsp__init_8h">
<area shape="rect" title="板级硬件外设初始化" alt="" coords="847,5,1106,60"/>
<area shape="rect" title=" " alt="" coords="721,255,808,280"/>
<area shape="rect" href="version_8h.html" title="版本/目标控制" alt="" coords="1150,181,1224,207"/>
<area shape="rect" href="dev__systick_8h.html" title="系统滴答定时器" alt="" coords="23,181,124,207"/>
<area shape="rect" href="dev__uart_8h.html" title="调试日志串口打印" alt="" coords="149,181,230,207"/>
<area shape="rect" href="dev__bod_8h.html" title="低电压触发配置" alt="" coords="255,181,335,207"/>
<area shape="rect" href="dev__rtc_8h.html" title="RTC 在线计时(No VBAT)" alt="" coords="359,181,434,207"/>
<area shape="rect" href="dev__crc_8h.html" title="硬件 CRC" alt="" coords="458,181,535,207"/>
<area shape="rect" href="dev__sfc_8h.html" title="SPI&#45;Flash Control 硬件专用高速模块" alt="" coords="560,181,636,207"/>
<area shape="rect" href="dev__sdram_8h.html" title="芯片内置 SDRAM" alt="" coords="660,181,754,207"/>
<area shape="rect" href="dev__sdio_8h.html" title="SDIO 驱动 SD 卡" alt="" coords="779,181,862,207"/>
<area shape="rect" href="dev__jpeg_8h.html" title="JPEG 硬件解码" alt="" coords="779,108,862,133"/>
<area shape="rect" href="dev__dac_8h.html" title="DAC 音频播放" alt="" coords="886,108,966,133"/>
<area shape="rect" href="dev__lcd_8h.html" title="LCD 驱动显示" alt="" coords="990,108,1066,133"/>
<area shape="rect" href="dev__touch_8h.html" title="TP 触摸设备驱动层" alt="" coords="1142,108,1232,133"/>
<area shape="rect" href="dev__sleep__stop_8h.html" title="浅/深睡眠" alt="" coords="1256,108,1379,133"/>
<area shape="rect" href="usbh__user_8h.html" title="USB Host 用户配置" alt="" coords="1403,108,1496,133"/>
<area shape="rect" title=" " alt="" coords="1520,108,1646,133"/>
<area shape="rect" title=" " alt="" coords="1670,108,1794,133"/>
<area shape="rect" title=" " alt="" coords="1819,108,1936,133"/>
<area shape="rect" title=" " alt="" coords="1960,108,2091,133"/>
<area shape="rect" title=" " alt="" coords="2116,108,2237,133"/>
<area shape="rect" title=" " alt="" coords="2261,108,2385,133"/>
<area shape="rect" href="jfif__parser_8h.html" title="jpeg 图片 jfif 格式解析" alt="" coords="936,181,1024,207"/>
<area shape="rect" title=" " alt="" coords="1520,181,1614,207"/>
<area shape="rect" href="usbh__conf_8h.html" title="USB Host Config" alt="" coords="1404,181,1496,207"/>
<area shape="rect" href="usbh__msc__conf_8h.html" title="USB Host MSC 类配置" alt="" coords="1388,255,1512,280"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件直接或间接的被哪些文件引用了:</div>
<div class="dyncontent">
<div class="center"><img src="bsp__init_8h__dep__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2bsp__init_8hdep" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2bsp__init_8hdep" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2bsp__init_8hdep">
<area shape="rect" title="板级硬件外设初始化" alt="" coords="1015,5,1273,60"/>
<area shape="rect" href="bsp__init_8c.html" title="板级硬件外设初始化" alt="" coords="5,115,264,170"/>
<area shape="rect" href="_flash_disk_8c.html" title="管理片外 SPI―Flash 的读写, 对接 FATFS 组件" alt="" coords="288,108,512,177"/>
<area shape="rect" href="load__mv_8c.html" title="播放 avi / wav 音视频" alt="" coords="536,108,760,177"/>
<area shape="rect" href="power__manager_8c.html" title=" " alt="" coords="784,108,1008,177"/>
<area shape="rect" href="userboot_8c.html" title="IAP 实现 UserBoot 功能" alt="" coords="1032,108,1256,177"/>
<area shape="rect" href="ui__boot_8c.html" title="开机动画/视频页, 挂载文件系统完成主页素材的导入" alt="" coords="1281,115,1522,170"/>
<area shape="rect" href="ui__update_8c.html" title="启动引导更新页, 挂载文件系统实现 UI 素材导入/更新(可选模块)" alt="" coords="1547,108,1765,177"/>
<area shape="rect" href="_mass_storage_8c.html" title=" " alt="" coords="1790,108,2031,177"/>
<area shape="rect" href="main_8c.html" title="主程序" alt="" coords="2056,115,2275,170"/>
</map>
</div>
</div>
<p><a href="bsp__init_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ac1d41f544770121f1cb61aeb64e5807e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="bsp__init_8h.html#ac1d41f544770121f1cb61aeb64e5807e">bsp_init</a> (void)</td></tr>
<tr class="memdesc:ac1d41f544770121f1cb61aeb64e5807e"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化所有的硬件设备, 该函数配置CPU寄存器和外设的寄存器并初始化一些全局变量(只需要调用一次)  <a href="bsp__init_8h.html#ac1d41f544770121f1cb61aeb64e5807e">更多...</a><br /></td></tr>
<tr class="separator:ac1d41f544770121f1cb61aeb64e5807e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >板级硬件外设初始化 </p>
<p >/ </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2022-12-08 lzh the first version </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>/</dd></dl>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="bsp__init_8h_source.html">bsp_init.h</a> 中定义.</p>
</div><h2 class="groupheader">函数说明</h2>
<a id="ac1d41f544770121f1cb61aeb64e5807e" name="ac1d41f544770121f1cb61aeb64e5807e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1d41f544770121f1cb61aeb64e5807e">&#9670;&#160;</a></span>bsp_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bsp_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化所有的硬件设备, 该函数配置CPU寄存器和外设的寄存器并初始化一些全局变量(只需要调用一次) </p>

<p class="definition">在文件 <a class="el" href="bsp__init_8c_source.html">bsp_init.c</a> 第 <a class="el" href="bsp__init_8c_source.html#l00029">29</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="bsp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_cgraph.png" border="0" usemap="#absp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_cgraph" alt=""/></div>
<map name="absp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_cgraph" id="absp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_cgraph">
<area shape="rect" title="初始化所有的硬件设备, 该函数配置CPU寄存器和外设的寄存器并初始化一些全局变量(只需要调用一次)" alt="" coords="5,129,72,155"/>
<area shape="rect" href="dev__crc_8c.html#af9273c2c56ccb1b14946a43defe57f6b" title="硬件 CRC 初始化" alt="" coords="143,5,207,31"/>
<area shape="rect" href="dev__dac_8c.html#a6e622fafee8436bf9cf9f6b120352e3c" title="初始化 DAC 模块" alt="" coords="142,55,209,80"/>
<area shape="rect" href="dev__jpeg_8c.html#a036588013ef5d04b04f06e8ecd22262e" title="初始化 JPEG 硬件解码器模块" alt="" coords="140,104,211,129"/>
<area shape="rect" href="bsp__init_8c.html#a1aedc31e8cff26709d3089c0a7579121" title="对用户使用的可编程硬件中断设置优先级及分组" alt="" coords="141,153,209,179"/>
<area shape="rect" href="dev__systick_8c.html#ac816b9d61dad1fe749c8eb4c625320dd" title=" " alt="" coords="131,203,219,228"/>
<area shape="rect" href="dev__uart_8c.html#afd092ef1d390fe16bc90e101bbbca1d8" title="初始化用作打印调试日志的串口" alt="" coords="120,252,231,277"/>
<area shape="rect" href="dev__dac_8c.html#aab3eb615ca98a910e727b600de131c18" title="配置 DAC 驱动端口以及功放静音控制脚, 开启声音" alt="" coords="300,55,396,80"/>
<area shape="rect" href="dev__uart_8c.html#aadbe4996756dcc6199bc9ec2e4969993" title="配置串口打印调试日志的端口" alt="" coords="279,252,417,277"/>
<area shape="rect" href="dev__uart_8c.html#ac12e742cf904e08383401dd68a88001b" title="串口（SWD）端口功能切换" alt="" coords="465,252,583,277"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="bsp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_icgraph.png" border="0" usemap="#absp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_icgraph" alt=""/></div>
<map name="absp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_icgraph" id="absp__init_8h_ac1d41f544770121f1cb61aeb64e5807e_icgraph">
<area shape="rect" title="初始化所有的硬件设备, 该函数配置CPU寄存器和外设的寄存器并初始化一些全局变量(只需要调用一次)" alt="" coords="104,5,171,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
